<?
		include("model/xl_dia_diem.php");
		include("model/xl_binh_luan_dia_diem.php");
		include("model/xl_hinh_anh_dia_diem.php");
		
		$id;
		$name;
		if(isset($_REQUEST['id'])&&isset($_REQUEST['name'])){
			$id = $_REQUEST['id'];
			$name = $_REQUEST['name'];
		}
		$xl_dia_diem = new xl_dia_diem();
		$xl_binh_luan = new xl_binh_luan_dia_diem();
		$xl_hinh_anh = new xl_hinh_anh_dia_diem();
		
		$total_place = count($xl_dia_diem->tongDiaDiem($id));
		
		$arrDDFirst = $xl_dia_diem->dsDiaDiemTheoNhom_ViewMore_First($id);
		
		$arrDiaDiemMoiCapNhat = $xl_dia_diem->dsDiaDiemMoiCapNhat($id);
		
		$link = "pages/nhom-dia-diem".$type;
		include $link;
?>